//
//  GoodsDetailApi.h
//  jingdongfang
//
//  Created by MTiMac01 on 2018/1/17.
//  Copyright © 2018年 LJL. All rights reserved.
//

#import "IGBaseRequest.h"

@interface GoodsDetailApi : IGBaseRequest
@property (nonatomic, copy)NSString *goodsId;
@end

@interface GoodsDetailModel : IGBaseModel
@property (nonatomic, copy) NSString *mainImage;//商品主图
@property (nonatomic, copy) NSArray *otherImages;//其他图片
@property (nonatomic, copy) NSString *title;//商品名
@property (nonatomic, copy) NSString *author;//原作者
@property (nonatomic, copy) NSString *seller;//上传用户
@property (nonatomic, copy) NSString *gclass;//商品类别
@property (nonatomic, copy) NSString *gclassChild;//二级类别
@property (nonatomic, copy) NSString *size;//尺寸
@property (nonatomic, copy) NSString *years;//年代
@property (nonatomic, copy) NSString *content;//描述
@property (nonatomic, copy) NSString *allowRefund;//是否允许买家退款/货 1允许 2不允许
@property (nonatomic, copy) NSString *goodsId;//商品Id
@property (nonatomic, copy) NSString *ifProduct;//是否有电子画 0无 1有
@property (nonatomic, copy) NSString *worksTitle;//电子作品名
@property (nonatomic, copy) NSString *worksImage;//描述
@property (nonatomic, copy) NSString *status;//商品状态1.待审核 2.已上架 3.审核不通过 4.已下架
@property (nonatomic, copy) NSString *auditReason;//审核不通过原因
@property (nonatomic, copy) NSString *sellerId;//卖家id
@property (nonatomic, copy) NSString *stock;//库存
@property (nonatomic, copy) NSString *price;//价格
@property (nonatomic, copy) NSString *worksId;//作品id
@end

@interface GoodsDetailResp : IGBaseResp
@property (nonatomic, copy) GoodsDetailModel *data;
@end
